﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Adams.Public.Web.Business.Web.Security
{
    public class ConfirmEmail
    {
        public static DataTransfer.Web.Security.ConfirmEmail.PageLoad PageLoad(DataTransfer.Web.Security.ConfirmEmail.PageLoadInput input)
        {
            var ret = new DataTransfer.Web.Security.ConfirmEmail.PageLoad();
            ret.SignupCompleteOutput = Business.Security.TrySignupComplete(new DataTransfer.Security.SignupCompleteInput() { Code = input.Code });
            return ret;
        }
    }
}
